package com.xncoding.pos.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 用户表
 *
 * @author xx on 2019/10/25
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class Person {

    private String Id;
    private String name;
    private int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "{\"Person\":{"
                + "\"name\":\""
                + name + '\"'
                + ",\"age\":"
                + age
                + "}}";

    }
}
